package com.unknow.first.geetest.config;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


@Data
@Configuration
//@ConditionalOnProperty(value = "system.geetest.enabled", havingValue = "true")
@ConfigurationProperties(prefix = "system.geetest")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class GeetestConfig {

    private String captchaId;
    private String captchaKey;
    private String domain;
    private Boolean enabled;
}
